package com.bs.sc.front.user.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.bs.sc.front.user.entity.User;

@Repository("userDao")
public interface UserDao extends JpaRepository<User, String> {

	public List<User> findByUserName(String userName);

	public List<User> findByUserNameAndPassword(String userName, String password);
}
